Dropp\Shipping_Method\Shipping_Method S

Total Complexity 49
Dependencies 6
Dependents 6
Total lines 403
Lines of code 227
Logical lines of code 113
Comment lines 112
Methods 15
Properties 7

Methods 15

Method Rating Maintainability Complexity Lines of code
is_available()
A
51 11 23
evaluate_cost()
A
47 10 34
validate_postcode()
A
51 8 25
get_instance_form_fields()
S
45 5 43
init_cost_tiers()
S
56 4 20
calculate_shipping()
S
58 2 15
get_additional_form_fields()
S
54 1 23
__construct()
S
60 1 14
init()
S
67 1 8
set_instance_option()
S
80 1 3
save_instance_settings()
S
76 1 3
get_code()
S
82 1 3
get_pricetype()
S
74 1 4
sanitize_cost()
S
70 1 6
get_cost_tiers()
S
82 1 3